package com.ruyiadmin.springboot.entity_data_model.entity_model.system_model;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

import com.ruyiadmin.springboot.common_infrastructure.models.base_entity_model.RuYiAdminBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 导入配置主模型
 * </p>
 *
 * @author RuYiAdmin
 * @since 2022-07-12
 */
@Data
@TableName("sys_import_config")
@ApiModel(value = "SysImportConfig对象", description = "导入配置主表")
@NoArgsConstructor
@AllArgsConstructor
public class SysImportConfig extends RuYiAdminBaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("配置名称")
    @TableField("CONFIG_NAME")
    @NotNull
    @Length(max = 128)
    private String configName;

    @ApiModelProperty("起始行")
    @TableField("START_ROW")
    @NotNull
    private Integer startRow;

    @ApiModelProperty("起始列")
    @TableField("START_COLUMN")
    @NotNull
    private Integer startColumn;

    @ApiModelProperty("工作簿索引列表")
    @TableField("WORKSHEET_INDEXES")
    private String worksheetIndexes;

    @TableField("SERIAL_NUMBER")
    private Integer serialNumber;

}
